home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Magnum One
/
Magnum One (Mid-American Digital) (Disc Manufacturing).iso
/
d13
/
stistics.arc
/
TEMPCONV.DOC
< prev
next >
Wrap
Text File
|
1988-07-24
|
2KB
|
32 lines
TEMPERATURE CONVERSION PROGRAM
This is not a statistical program. Rather, it is a handy utility program
to convert a temperature in any scale to all others.
First, you will be asked if you want if you want the results to be sent to
the printer as well as to the screen.
Next, you will be asked to enter a temperature (JUST the number and minus
sign if appropriate; no degree signs or letters!). Then, choose from the
menu the scale it was recorded in. For example, if you originally entered
38, now indicate whether this number was recorded in the Farenheit,
Celsius, Reaumur, Kelvin or Rankine scales. Once you have done this, the
program will give you the temperature values in all the other scales. For
example, if you entered 38 on the Celsius scale, the program will return
the values on the Farenheit, Reaumur, Kelvin and Rankine scales.
The program will repeat until you indicate you have no more conversions to
do by entering a zero. A sample output is on the back of this sheet.
Because data entry is so simple and easy, no provision has been made to
enter data via a file.
REFERENCE: Poole, L. and M. Borchers 1979 Some Common Basic Programs,
3rd edition. Osborne/McGraw-Hill, Berkeley, CA. Page 147-
150.
BASIC VERSION: Poole and Borchers coded Mar 84
PASCAL VERSION: Dr. Stanley Kaplan Sep 85
UPDATES: Oct 86 (Version 2.00)
Feb 87 (Version 2.10)
Feb 88 (MS-DOS Version 2.2)